// main.c
//

#include "types.h"

void main ( void )
{
   char *input, shell_prompt[100];

   srand( time( NULL ) );

   SurvivorsInit( );

   LocationInit( );

   while ( 1 ) // SurvivorsAlive( ) )
   {
      strcpy( shell_prompt, "> " );

      input = readline( shell_prompt );

      if ( !input ) continue;

      ExecuteCommand( input );

      free( input );
   }

   // Describe location

   // Wait for user input

   // Execute user command

   // Update survivors and camp



   return;
}
